<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@page language="java" import="com.xypw.models.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<c:import url="topShow.jsp" />
<script type="text/javascript">
function init(){
	parent.resizeDisFrame(document.body.scrollHeight);
}


</script>
<body onload="init()">
	<div align="center" style="margin-top: 20px">
		<table width="800" height="auto" border="1" align="center"
			bordercolor="#E8E7E6" bgcolor="#FFFFFF">
			<tr align="center" valign="middle" height="25px">
				<th colspan="4" bgcolor="#BECAE3">${areaName} 下属各区/县发布信息总数 ${citySum} 条</th>
			</tr>
			<c:forEach items="${disList}" var="dis" varStatus="status">
				<c:if test="${(status.count%4)==1}">
					<tr align="center" valign="middle">
				</c:if>
				<td width="25%" style="padding: 3px">
				<a href="javascript:parent.showDepInfo('${dis.areaCode}');">${dis.areaName}</a><br />
				<span>(${dis.areaLevel} 条)</span></td>
				<c:if test="${status.last}">
					<c:if test="${(status.count%4)!=0}">
						<c:forEach begin="1" end="${4-(status.count%4)}" var="i">
							<td>&nbsp;</td>
						</c:forEach>
					</c:if>
				</c:if>
				<c:if test="${(status.count%4)==0}">
					</tr>
				</c:if>
			</c:forEach>
		</table>
		
		<br />
		
	<table width="800" border="1" align="center" bordercolor="#E8E7E6" bgcolor="#FFFFFF">
		<tr align="center" valign="middle" >
			<th colspan="4" height="25px" bgcolor="#BECAE3">市级部门 发布信息总数 (${cityTotal} 条)</th>
		</tr>
		<tr align="center" valign="middle" bordercolor="#E8E7E6" bgcolor="#FFFFFF" >
			<td width="25%" colspan="4" style="padding:3px">
				<a href="javascript:parent.showDepInfo('${area.areaCode}');"><span>${areaName}市级部门</span></a>(${cityTotal} 条)<br/>
			</td>
		</tr>
	</table>
	</div>
</body>
</html>
